<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>博客主页</title>
    <link rel="stylesheet" href="../static/newCss/animate.css" th:href="@{/newCss/animate.css}"/>
    <link rel="stylesheet" href="../static/newCss/layui.css" th:href="@{/newCss/layui.css}">
    <link rel="stylesheet" href="../static/newCss/semantic.css" th:href="@{/newCss/semantic.css}">
    <link rel="stylesheet" href="../static/newCss/Blog-nav.css" th:href="@{/newCss/Blog-nav.css}">
    <link rel="stylesheet" href="../static/newCss/MyStyle.css" th:href="@{/newCss/MyStyle.css}">
    <link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}"/>
    <link rel="stylesheet" href="../static/lib/prism/prism.css" th:href="@{/lib/prism/prism.css}"/>
    <link rel="stylesheet" href="../static/lib/tocbot/tocbot.css" th:href="@{/lib/tocbot/tocbot.css}"/>
    <link rel="stylesheet" href="../static/newCss/blogStyle.css" th:href="@{/newCss/blogStyle.css}"/>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"/>
    <link rel="stylesheet" href="../static/newCss/APlayer.min.css" th:href="@{/newCss/APlayer.min.css}">
    <style>
        body {
            background-color: #fcfcfc;
        }
    </style>
</head>
<body>
<!-- 导航 -->
<div class="ui top fixed menu">
    <nav class="h-shadow-small ui attached segment h-padded-td-mini">
        <!-- 滚轮进度条 -->
        <div class="ui bottom indicating attached  progress" data-value="1" data-total="100" id="example4">
            <div class="bar"></div>
        </div>
        <div class="ui secondary stackable menu ">
            <h2 class="ui left header item">
                <div class="content"><span style="font-size: 20px">Meteor</span></div>
            </h2>
            <div class="item  h-item h-moblile-hide">
                <div class="ui item  category search">
                    <div class="ui  icon input">
                        <input class="prompt" type="text" placeholder="搜索文章" id="Search_for_articles" >
                        <i class="search link icon" id="search_blog_btn"></i>
                    </div>
                    <div class="results"></div>
                </div>
            </div>

            <a th:href="@{/1}" href="#" class="h-item item h-moblile-hide Navbtn"><i class="home icon"></i>首页</a>

            <a th:href="@{/types}" href="#" class="h-item item h-moblile-hide  Navbtn"><i class="tags icon"></i>标签</a>

            <a th:href="@{/time}" href="#" class="h-item item h-moblile-hide  Navbtn"><i
                    class="calendar alternate icon"></i>归档</a>

            <a href="javascript:alert('开发中')" class="h-item item h-moblile-hide Navbtn"><i
                    class="linkify icon"></i>未知</a>

            <a th:href="@{/aboutMe}" class="h-item item h-moblile-hide  Navbtn"><i
                    class="address card outline icon"></i>关于我</a>

            <a th:href="@{/dream}" class="h-item item h-moblile-hide  Navbtn"><i
                    class="paper plane outline icon" th:classappend="${n==6} ? 'active'"></i>关于梦想</a>

            <!--            <a th:href="@{/toLogin}" class="h-item item h-moblile-hide  Navbtn"><i class="arrow circle right icon"></i>后台登录</a>-->

        </div>
        <a href="#" class="ui icon button h-right-top-storage h-moblile-show" id="stackable-hide"
           style="background-color: #ffffff;">
            <i class="sidebar icon"></i>
        </a>
    </nav>
</div>
<!-- 	背景图 -->
<div class="h-box" id="indexBackground"
     style=" margin-top: 70px;background: url("th:src='@{/image/b}'") center/cover no-repeat;">
    <div class="h-box-div" style="display: flex;justify-content: center;align-items: center;padding-top: 16%;">
        <center>
            <p id="p_title" class="animate__animated animate__slideInDown" style="font-size: 25px;color: #ffffff;">
                世界并不完美，却因此而美丽。</p>
        </center>
    </div>
    <div style="display: flex;justify-content: center;align-items: center;padding-top: 21%;">
        <a href="javascript:;" class="h-text-font-size-plus" id="scroll_down_btn">
            <i class="angle down icon animate__animated animate__bounce"
               style="color: rgb(255, 255, 255); caret-color: rgb(255, 255, 255);"></i>
        </a>
    </div>
</div>
<!-- 	主体 -->
<div class="h-padded-td-big" id="Indexbody">
    <div class="ui container">
        <div class="ui stackable grid">
            <div class="eleven wide column">
                <!--  content -->
                <div id="contentList">
                    <div th:each="blog:${blogs}" class="ui attached animate__animated animate__fadeInUp">
                        <div class="d-web-info-box" data-wow-duration="0.4s">
                            <div class="ui mobile stackable grid">
                                <div class="seven wide column" style="overflow: hidden;"><a th:href="@{/blog/{id}(id=${blog.id})}" href="javascript:;"><img id="firstPicture"
                                        class="ui rounded image centered Itemimg" th:src="${blog.picture}"
                                        src="https://w.wallhaven.cc/full/y8/wallhaven-y8lqo7.jpg"></a></div>
                                <div class="nine wide column h-padded-td-large"><a th:href="@{/blog/{id}(id=${blog.id})}" href="javascript:;"><h3
                                        th:text="${blog.title}" id="t" class="ui header titleSuspension">本博客技术总结及更新</h3></a>
                                    <p class="m-text" th:text="|${blog.description}....|">1.技术介绍
                                        前端：
                                        semanticUi+layui+jquery+ animate.css

                                        后端：
                                        springBoot + MyBatisPlus + Mysql

                                        插件:
                                        editorMd+prismjs+ Tocbot+jquery.waypoints.js+APlayer

                                        2.运行环境
                                        开发工具：IDEA......</p>
                                    <div class="ui grid">
                                        <div class="wide column">
                                            <div class="ui mini horizontal link list">
                                                <div class="item">
                                                    <div class="content"><span class="header"><i
                                                            class="user outline red  icon"></i>Meteor</span></div>
                                                </div>
                                                <div class="item"><i class="clock outline blue icon"></i><span
                                                        th:text="${blog.createTime}">2000-10-10</span>
                                                </div>
                                                <div class="item"><i class="eye green icon"></i><span
                                                        th:text="${blog.views}">173</span></div>
                                                <div class="item"><i class="comment alternate outline orange icon"></i>
                                                    3
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--  bottom -->
                <div class="ui middle aligned centered grid h-padded-td" id="blogPaging">
                    <div class="ui pagination menu"><a th:href="@{/{page}(page=${page.pageNum}-1)}" class="item">上一页&nbsp;&nbsp;&nbsp;</a><a
                            class="item  active">1</a><a th:href="@{/{page}(page=${page.pageNum}+1)}"
                                                         class="item ">2</a><a class="item">&nbsp;&nbsp;&nbsp;下一页</a>
                    </div>
                </div>
            </div>
            <!-- 	侧边栏 -->
            <div class="five wide column animate__animated animate__fadeIn">
                <div class="d-web-info-box" data-wow-duration="0.4s" id="H-Sidebar">
                    <div class="d-web-user-info-box ">
                        <img src="../static/image/touxiang.jpg" th:src="@{/image/touxiang.jpg}" class="avatarImg"
                             width="80px" height="80px">
                        <p>Meteor</p>
                    </div>
                    <div class="ui aligned centered grid h-padded-td-large">
                        <span class="m-text">文章<br><a href="javascript:;" class="m-text-span"
                                                      th:text="${blogs.size()}" id="blogCount">6</a></span>
                        <span class="m-text">标签<br><a href="javascript:;" th:text="${types.size()}" class="m-text-span"
                                                      id="TagCount">7</a></span>
                        <span class="m-text">评论<br><a href="javascript:;" class="m-text-span"
                                                      id="commentCount">9</a></span>
                        <span class="m-text">浏览量<br><a href="javascript:;" class="m-text-span"
                                                     th:text="${viewS}"  id="ViewCount">17689</a></span>
                    </div>
                    <div class="h-padded-td-small">
                        <span><i class="rocket icon"></i>社交</span>
                    </div>
                    <br>
                    <div class="ui aligned centered bottom middle grid h-padded-td">
                        <p class="h-text-font-size"><i class="github square black icon"></i><a
                                href="https://gitee.com/lx-meteor" target="_blank">&nbsp;GitHub</a></p>
                        <p class="h-text-font-size"><i class="wechat green button icon"></i><a href="#"></a></p>
                        <p class="h-text-font-size"><i class="copyright orange icon"></i><a
                                href="https://www.cnblogs.com/lx-meteor" target="_blank">&nbsp;CSDN</a></p>
                    </div>
                    <div class="ui wechat flowing popup transition hidden">
                        <img th:src="@{/image/myvx.jpg}" src="../static/image/myvx.jpg" alt="" class="ui rounded image"
                             style="width:100px">
                    </div>

                    <div class="h-padded-td-small">
                        <span><i class="tags icon"></i>标签</span>
                    </div>
                    <div class="h-padded-td-small">
                        <!--							标签-->
                        <div class="ui" id="TagList" >
                            <a href="javascript:;" th:each="type:${types}">
                                <span class="ui left label  m-margin-tb-mid teal" th:text="${type.type}" th:if="${typeStat.count} == 1">bug与异常</span>
                                <span class="ui left label  m-margin-tb-mid red" th:text="${type.type}" th:if="${typeStat.count} == 2">bug与异常</span>
                                <span class="ui left label  m-margin-tb-mid blue" th:text="${type.type}" th:if="${typeStat.count} == 3">bug与异常</span>
                                <span class="ui left label  m-margin-tb-mid orange" th:text="${type.type}" th:if="${typeStat.count} == 4">bug与异常</span>
                                <span class="ui left label  m-margin-tb-mid yellow" th:text="${type.type}" th:if="${typeStat.count} == 5">bug与异常</span>
                                <span class="ui left label  m-margin-tb-mid blue" th:text="${type.type}" th:if="${typeStat.count} > 5">bug与异常</span>
                            </a>
                        </div>
                    </div>
                    <div class="h-padded-td-small">
                        <span><i class="globe icon"></i>网站运行时间</span>
                    </div>
                    <div class="h-padded-td-small">
                        <span id="htmer_time">本站已运行：2年05天06时13分14秒</span>
                    </div>
                </div>
                <!-- -->
            </div>
        </div>
    </div>
</div>
<!--		回到顶部-->
<div id="backToTheTop" class="h-padded h-fixed h-right-bottom" style="display: none">
    <a title="回到顶部" href="javascript:;" class="ui icon button topBtn"><i class="angle up blue icon"></i></a>
</div>

<meting-js
        server="netease"
        type="playlist"
        id="7470734184"
        fixed="true"
        loop="all"
        order="random"
        preload="auto"
        list-folded="ture"
        list-max-height="500px"
        lrc-type="1">
</meting-js>

<!-- 底部 -->
<footer class="ui attached segment">
    <div class="ui container">
        <center>
            <p>Copyright © 2022 By Meteor</p>
            <a href="https://beian.miit.gov.cn"><p>黑ICP备2022004739号-1</p></a>
        </center>
    </div>
</footer>

<script src="../static/js/jquery-1.11.1-min.js" th:src="@{/js/jquery-1.11.1-min.js}"></script>
<script src="../static/js/jquery.scrollTo.min.js" th:src="@{/js/jquery.scrollTo.min.js}"></script>
<script src="../static/js/APlayer.min.js" th:src="@{/js/APlayer.min.js}"></script>
<!-- require MetingJS -->
<script src="../static/js/Meting.min.js" th:src="@{/js/Meting.min.js}"></script>
<script src="../static/js/jquery.waypoints.js" th:src="@{/js/jquery.waypoints.js}"></script>
<script src="../static/js/semantic.min.js" th:src="@{/js/semantic.min.js}"></script>
<script src="../static/lib/prism/prism.js" th:src="@{/lib/prism/prism.js}"></script>
<script src="../static/lib/tocbot/tocbot.min.js" th:src="@{/lib/tocbot/tocbot.min.js}"></script>
<script src="../static/js/index.js" th:src="@{/js/index.js}"></script>

<script src="../static/js/indexViews.js" th:src="@{/js/indexViews.js}"></script>

<script>
    $(".menu.toggle").click(function () {
        $(".m-item").toggleClass("m-mobile-hide");
    });
    $(".qq").popup({});
    $(".wechat").popup({
        popup: $(".wechat.popup"),
        position: 'bottom center',
    });
</script>
</body>
</html>
